{extend name='admin@main'}


{block name="content"}
<div class="think-box-shadow">
    {include file='finance/member_search'}
    <table class="layui-table margin-top-10" lay-skin="line">
        {notempty name='list'}
        <thead>
        <tr>
            <th class='text-left nowrap'>ID</th>
            <th class='text-left nowrap'>会员账号</th>
            <th class='text-left nowrap'>会员信息</th>
            <th class='text-left nowrap'>联系方式</th>
            <th class='text-left nowrap'>积分/数量</th>
            <th class='text-left nowrap'>充值时间</th>
            <th class='text-left nowrap'>备注</th>
        </tr>
        </thead>
        {/notempty}
        <tbody>
        {foreach $list as $key=>$vo}
        <tr>
            <td class='text-left nowrap'>
                <label>{$vo.id}</label>
            </td>
            <td class='text-left'>
                会员ID:{$vo.mid}<br/>会员账号:{$vo.account}</td>
            <td class='text-left nowrap'>
                {notempty name='vo.avatar'}
                <img data-tips-image style="width:40px;height:40px" src="{$vo.avatar|default=''}" class="margin-right-5 text-top">
                {/notempty}
                <div class="inline-block">
                    昵称：{$vo.nickname|default='--'}<br>
                    姓名：{$vo.realname|default='--'}
                </div>
            </td>
            <td class='text-left'>
                {$vo.phone|default='--'}<br/>
                {$vo.spare_phone|default='--'}
            </td>
            <td class='text-left'>
                会员积分:{$vo.credits}
                <br/>
                充值数量:{$vo.num}
            </td>


            <td class='text-left'>{$vo.create_at|format_datetime|str_replace=' ','<br><span class="color-desc">时间：',###|raw}</td>
            <td class='text-left'>{$vo.remark}</td>
        </tr>
        {/foreach}
        </tbody>
    </table>
    {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
</div>
{/block}
